aboutsummaryrefslogtreecommitdiff
path: root/xmpp-vala/src/module/xep/0045_muc/module.vala
diff options
context:
space:
mode:
authorfiaxh <git@mx.ax.lt>2018-04-17 20:11:44 +0200
committerfiaxh <git@mx.ax.lt>2018-04-17 22:13:05 +0200
commitc656c7e9c274f3426527355320c0c22549c7792b (patch)
tree8f17679f6ef1fad0ea5f4a1713122a06b5b205c9 /xmpp-vala/src/module/xep/0045_muc/module.vala
parent105006c5f10e4c3cba7f0a6211215b07343e7c7d (diff)
downloaddino-c656c7e9c274f3426527355320c0c22549c7792b.tar.gz
dino-c656c7e9c274f3426527355320c0c22549c7792b.zip
small fixes
Diffstat (limited to 'xmpp-vala/src/module/xep/0045_muc/module.vala')
-rw-r--r--xmpp-vala/src/module/xep/0045_muc/module.vala4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmpp-vala/src/module/xep/0045_muc/module.vala b/xmpp-vala/src/module/xep/0045_muc/module.vala
index f0ae0ed6..b0a22d6b 100644
--- a/xmpp-vala/src/module/xep/0045_muc/module.vala
+++ b/xmpp-vala/src/module/xep/0045_muc/module.vala
@@ -173,7 +173,7 @@ public class Module : XmppStreamModule {
}
public override void attach(XmppStream stream) {
- stream.add_flag(new Muc.Flag());
+ stream.add_flag(new Flag());
stream.get_module(MessageModule.IDENTITY).received_message.connect(on_received_message);
stream.get_module(Presence.Module.IDENTITY).received_presence.connect(check_for_enter_error);
stream.get_module(Presence.Module.IDENTITY).received_available.connect(on_received_available);
@@ -368,7 +368,7 @@ public class Module : XmppStreamModule {
Jid? jid_ = Jid.parse(item.get_attribute("jid"));
string? affiliation_ = item.get_attribute("affiliation");
if (jid_ != null && affiliation_ != null) {
- stream.get_flag(Muc.Flag.IDENTITY).set_offline_member(iq.from, jid_, parse_affiliation(affiliation_));
+ stream.get_flag(Flag.IDENTITY).set_offline_member(iq.from, jid_, parse_affiliation(affiliation_));
ret_jids.add(jid_);
}
}