updated tests, moved code closer to the caller.
authorPavel Zaitsev <pavel@arslogi.ca>
Mon, 27 Jul 2020 23:11:03 +0000 (19:11 -0400)
committerPavel Zaitsev <pavel@arslogi.ca>
Wed, 29 Jul 2020 22:23:34 +0000 (18:23 -0400)
commit5885f7fbddd75f559c10c3b9bf74ba4fb50e981f
tree9bf2448ab666925f7cea8b688856e6502d369150
parente5374b7111e9005f146133ba5325eb515b3100fb
updated tests, moved code closer to the caller.

* addded condition for zero time on lastMsg.

* removed extra paramter in NamePrefix
* moved code from NamePrefix to completeName
* removed extra parameter in tests calling to NamePrefix
chat/message/user.go
chat/room.go
chat/room_test.go
host.go