do not use sync app socket for local prefix discovery
diff --git a/chatdialog.h b/chatdialog.h
index f0c58c2..8e09749 100644
--- a/chatdialog.h
+++ b/chatdialog.h
@@ -47,6 +47,7 @@
void processRemove(QString);
private:
+ QString getLocalPrefix();
void fetchHistory(std::string name);
QString getRandomString();
void formChatMessage(const QString &text, SyncDemo::ChatMessage &msg);
@@ -77,8 +78,7 @@
void replot();
void updateRosterList(QStringList);
void enableTreeDisplay();
- void getLocalPrefix();
-
+ void updateLocalPrefix();
// icon related
void iconActivated(QSystemTrayIcon::ActivationReason reason);
void showMessage(QString, QString);