improve text message view (#276)

* show text and time on the same line

* convert emails and phones to links
This commit is contained in:
Evgeny Poberezkin
2022-02-06 21:06:02 +00:00
committed by GitHub
parent 8efb8b2f86
commit 7883ca7657
5 changed files with 54 additions and 20 deletions
+2
View File
@@ -201,6 +201,8 @@ func chatRecvMsg() throws -> ChatResponse {
}
func apiGetActiveUser() throws -> User? {
let _ = getChatCtrl()
sleep(1)
let r = try chatSendCmd(.showActiveUser)
switch r {
case let .activeUser(user): return user