mirror of
https://github.com/Xevion/tcp-chat.git
synced 2025-12-06 03:16:44 -06:00
Small code beauty/clarity edits & improvements
New code documentation, insignificant code refactors etc.
This commit is contained in:
@@ -25,7 +25,8 @@ class ReceiveWorker(QThread):
|
||||
def stop(self) -> None:
|
||||
self.__isRunning = False
|
||||
|
||||
def __extract_message(self, data) -> dict:
|
||||
@staticmethod
|
||||
def __extract_message(data) -> dict:
|
||||
return {
|
||||
'nickname': data['nickname'],
|
||||
'message': data['content'],
|
||||
|
||||
Reference in New Issue
Block a user