Ver Fonte

Add files via upload

Daniel Voipan há 5 anos atrás
pai
commit
769c8f980d
1 ficheiros alterados com 3 adições e 0 exclusões
  1. 3 0
      BlackTools/Modules/BT.Notes.tcl

+ 3 - 0
BlackTools/Modules/BT.Notes.tcl

@@ -172,6 +172,9 @@ if {[string equal -nocase $handle $hand] && [string equal -nocase $number $num]}
 	set time [lindex [split $line] 5]
 	set time [clock format $time -format %D]
 	set sender [lindex [split $line] 6]
+if {[regexp {:} $sender]} {
+	set sender [lindex [split $sender ":"] 0]
+}
 if {$readtype == "LIST"} {
 	set readnote [lrange [split $line] 6 end]
 } else {