From e6a21d108e1397e997e6346aa7c6a6d8cb668851 Mon Sep 17 00:00:00 2001 From: rocket049 Date: Fri, 21 Jun 2019 09:28:06 +0800 Subject: [PATCH] =?UTF-8?q?2019=E5=B9=B4=2006=E6=9C=88=2021=E6=97=A5=20?= =?UTF-8?q?=E6=98=9F=E6=9C=9F=E4=BA=94=2009:28:06=20CST?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/ui.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/ui.vala b/client/ui.vala index 11ab2dd..8b79236 100644 --- a/client/ui.vala +++ b/client/ui.vala @@ -314,7 +314,7 @@ public class MyGrid: GLib.Object{ } public void send_msg(){ // 发送信息 - if(this.to==0) + if(this.to==0 || this.entry1.text.length==0) return; client.ChatTo(this.to,this.entry1.text); //var u = this.frds1[this.uid.to_string()];