Call `findUser` on direct message notification received

This commit is contained in:
Tristan B. Kildaire 2021-01-28 15:32:03 +02:00
parent ddee77a5b7
commit f2120f5fd4
1 changed files with 2 additions and 0 deletions

View File

@ -210,6 +210,8 @@ public final class Connection : Thread
/* The message is the remainder */
string message = cast(string)data[2+usernameLength..data.length];
gprintln("DirectMessage: (Message): "~message);
findUser(username).receiveMessage(username, message);
}
else
{