From c0fbd69421c398b7c4dd6bf7f72078e43c19fed3 Mon Sep 17 00:00:00 2001 From: Linloir <3145078758@qq.com> Date: Sun, 23 Oct 2022 10:34:59 +0800 Subject: [PATCH] Improvement: - Shorten log when changing avatar --- bin/tcp_server.dart | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bin/tcp_server.dart b/bin/tcp_server.dart index e5ff80b..1a3805e 100644 --- a/bin/tcp_server.dart +++ b/bin/tcp_server.dart @@ -1,7 +1,7 @@ /* * @Author : Linloir * @Date : 2022-10-06 15:44:16 - * @LastEditTime : 2022-10-22 21:25:00 + * @LastEditTime : 2022-10-23 10:33:58 * @Description : */ @@ -57,6 +57,9 @@ void main(List arguments) async { if(request.requestType == RequestType.sendMessage) { print('[L] Message: (Message body)'); } + else if(request.requestType == RequestType.modifyProfile) { + print('[L] Profile: (Profile body)'); + } else { print('[L] Message: ${request.toJSON}'); }