From a3f6eafbae51bb98220a05bb5b63d551268c05a1 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Wed, 2 May 2018 12:27:19 +0200 Subject: Fix bug where you dont see your own messages when added to channel --- src/Channel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/Channel.cpp b/src/Channel.cpp index b43e75c..d89a23f 100644 --- a/src/Channel.cpp +++ b/src/Channel.cpp @@ -175,7 +175,7 @@ namespace dchat } localUser = newLocalUser; - users.push_back(newLocalUser); + addUserLocally(newLocalUser); } void Channel::processEvent(const sf::Event &event) -- cgit v1.2.3