diff options
author | dec05eba <dec05eba@protonmail.com> | 2019-04-08 21:05:27 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2019-04-08 21:05:30 +0200 |
commit | 0325168dcaab57e06092fa64822d8386c4412337 (patch) | |
tree | 3facb850ce7a4c6974e7135086b7fb3a4ba2a1eb /src | |
parent | 725ea566a2b6a12e0a02e4f570b6e99102e2d21b (diff) |
Add message who added us to room on waited to join
Diffstat (limited to 'src')
-rw-r--r-- | src/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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<recursive_mutex> 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(); }; |