feat: Load user information for requests; enhance dialog title handling and improve data retrieval

This commit is contained in:
k1ngsterr1
2026-01-17 01:17:07 +05:00
parent f71209f3c6
commit 97eac22879
4 changed files with 62 additions and 29 deletions

View File

@@ -216,6 +216,9 @@ class MessageRepository private constructor(private val context: Context) {
// Обновляем диалог
updateDialog(toPublicKey, text.trim(), timestamp)
// 🔥 Отмечаем что я отправлял сообщения в этот диалог (перемещает из requests в chats)
dialogDao.markIHaveSent(account, toPublicKey)
// Отправляем пакет
val packet = PacketMessage().apply {
this.fromPublicKey = account