aboutsummaryrefslogtreecommitdiff
path: root/libdino/src/service/muc_manager.vala
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2020-05-28 00:27:06 +0200
committerfiaxh <git@lightrise.org>2020-06-03 21:50:40 +0200
commitd01af5b520d112b00e4c18b16657f89d5afe7ad4 (patch)
treec32a343766e72f95d2d67b456b41b66872e8cdfe /libdino/src/service/muc_manager.vala
parent71be2abb6a007fd9b4ed3164d70f5cb95d49ce69 (diff)
downloaddino-d01af5b520d112b00e4c18b16657f89d5afe7ad4.tar.gz
dino-d01af5b520d112b00e4c18b16657f89d5afe7ad4.zip
Fix compiler warnings
Diffstat (limited to 'libdino/src/service/muc_manager.vala')
-rw-r--r--libdino/src/service/muc_manager.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdino/src/service/muc_manager.vala b/libdino/src/service/muc_manager.vala
index c4941b47..d96681ac 100644
--- a/libdino/src/service/muc_manager.vala
+++ b/libdino/src/service/muc_manager.vala
@@ -106,7 +106,7 @@ public class MucManager : StreamInteractionModule, Object {
// Check if this would be a valid nick
try {
- Jid jid = conversation.counterpart.with_resource(new_nick);
+ conversation.counterpart.with_resource(new_nick);
} catch (InvalidJidError error) { return; }
stream.get_module(Xep.Muc.Module.IDENTITY).change_nick(stream, conversation.counterpart, new_nick);