- Add last_msg_at column to channels table - Update last_msg_at on every message insert (send/receive) - Parameterize getChannels() with ChannelSortMode enum (Alphabetical/Recent) - Add getChannelLastMessage() for preview text in channel list - Add sorting combo to Profile settings page (stored in ui_state) - Reload channels on message receive when sort is recent
17 lines
533 B
Plaintext
17 lines
533 B
Plaintext
было:
|
||
Node: 0x32a3a1ee5625ceb9 (chatgui)
|
||
online: no
|
||
x25519: 33 2A 8D A2..FC 87 00 3F
|
||
ed25519: B4 94 9F 4A..5D 9D A9 FB
|
||
last_seen: 2026-07-26 07:19:18
|
||
created: 2026-07-23 13:14:13
|
||
addresses:
|
||
192.168.40.200:1333 UDP NETIF rtt=6ms
|
||
|
||
стало:
|
||
ID:0x32a3a1ee5625ceb9
|
||
[chatgui] * <- зеленая или красная точка если онлайн
|
||
[иконка last seen] 1h (5s с интервалом 5 сек, 1m 1h 1d)
|
||
[icon created] 20d (дней назад)
|
||
UDP:192.168.40.200:1333
|