aboutsummaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2019-11-18 22:45:18 +0100
committerfiaxh <git@lightrise.org>2019-11-18 22:45:18 +0100
commit41ada4fcc8991ecacd390d92f8ff7829f4e649ff (patch)
tree7d95fc29b829b3622dd931090dc7d9df98ef47c5 /main
parentfcce176b91f5136aac745cc3ab66afa632de8180 (diff)
downloaddino-41ada4fcc8991ecacd390d92f8ff7829f4e649ff.tar.gz
dino-41ada4fcc8991ecacd390d92f8ff7829f4e649ff.zip
Don't attempt DNS SRV lookups in connection fallback
Diffstat (limited to 'main')
-rw-r--r--main/src/ui/add_conversation/conference_details_fragment.vala2
-rw-r--r--main/src/ui/util/helper.vala2
2 files changed, 2 insertions, 2 deletions
diff --git a/main/src/ui/add_conversation/conference_details_fragment.vala b/main/src/ui/add_conversation/conference_details_fragment.vala
index 876f7050..47cf228f 100644
--- a/main/src/ui/add_conversation/conference_details_fragment.vala
+++ b/main/src/ui/add_conversation/conference_details_fragment.vala
@@ -87,7 +87,7 @@ protected class ConferenceDetailsFragment : Box {
set {
if (value != null) {
value.clicked.connect(() => {
- on_ok_button_clicked();
+ on_ok_button_clicked.begin();
});
ok_button_ = value;
diff --git a/main/src/ui/util/helper.vala b/main/src/ui/util/helper.vala
index 5c72743f..db44103a 100644
--- a/main/src/ui/util/helper.vala
+++ b/main/src/ui/util/helper.vala
@@ -177,8 +177,8 @@ private static string get_groupchat_display_name(StreamInteractor stream_interac
}
private static string get_occupant_display_name(StreamInteractor stream_interactor, Account account, Jid jid, bool me_is_me = false) {
- MucManager muc_manager = stream_interactor.get_module(MucManager.IDENTITY);
/* TODO: MUC Real JID
+ MucManager muc_manager = stream_interactor.get_module(MucManager.IDENTITY);
if (muc_manager.is_private_room(account, jid.bare_jid)) {
Jid? real_jid = muc_manager.get_real_jid(jid, account);
if (real_jid != null) {