diff options
author | fiaxh <git@lightrise.org> | 2021-10-12 16:27:56 +0200 |
---|---|---|
committer | fiaxh <git@lightrise.org> | 2021-10-12 19:43:57 +0200 |
commit | 237081e5735b463b7528f4f3f52978eaf1bfeeca (patch) | |
tree | 49d9eaa3156153806fa88c0b7679fd2080d9bd2c /xmpp-vala/src/module | |
parent | e8c162eae3827a4f2abdf97b1e42f7398744c10e (diff) | |
download | dino-237081e5735b463b7528f4f3f52978eaf1bfeeca.tar.gz dino-237081e5735b463b7528f4f3f52978eaf1bfeeca.zip |
Fix compiler warnings ('Switch does not handle .. of enum ..')
Diffstat (limited to 'xmpp-vala/src/module')
-rw-r--r-- | xmpp-vala/src/module/xep/0045_muc/module.vala | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xmpp-vala/src/module/xep/0045_muc/module.vala b/xmpp-vala/src/module/xep/0045_muc/module.vala index 718ad255..4cab9b6a 100644 --- a/xmpp-vala/src/module/xep/0045_muc/module.vala +++ b/xmpp-vala/src/module/xep/0045_muc/module.vala @@ -193,6 +193,8 @@ public class Module : XmppStreamModule { case Affiliation.ADMIN: if (other_affiliation == Affiliation.OWNER) return false; break; + default: + return false; } return true; } catch (InvalidJidError e) { |