From 0325168dcaab57e06092fa64822d8386c4412337 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Mon, 8 Apr 2019 21:05:27 +0200 Subject: Add message who added us to room on waited to join --- src/main.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/main.cpp b/src/main.cpp index 1e2e6d9..951ea6c 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -135,6 +135,8 @@ int main(int argc, char **argv) lock_guard lock(channelMessageMutex); // TODO: Update users side panel //chatWindow.addUser(request); + if(request.waitedToJoin) + fprintf(stderr, "Waited to join. We were added to room by %s\n", request.addedByUser->publicKey.toString().c_str()); request.user->nickname = "Anonymous"; lastFocusedTimer.restart(); }; -- cgit v1.2.3