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 authored and GitHub committed 2022-02-06 21:06:02 +00:00
1 parent 8efb8b2f86
commit 7883ca7657
5 files changed
+54 -20

No files matched your search

+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