chatgui: local nicknames per channel member — edit via MemberPropsDialog, override display everywhere

This commit is contained in:
Evgeny committed 2026-07-26 09:19:31 +03:00
1 parent 373a2e4687
commit 85bdc00aaf
9 files changed
+87 -16

No files matched your search

+2
View File
@@ -49,6 +49,7 @@ struct ChannelMember {
quint64 nodeId = 0;
bool online = false;
QString name; // from nodes.name, empty if not set
QString localNick; // from peers.local_nick override, empty if not set
};
struct NodeAddr {
@@ -96,6 +97,7 @@ public:
QList<ChannelMember> getChannelMembers(const QString& chId, int offset, int limit) const;
void cleanOrphanedPeers(const QString& chId) const;
QString getDisplayName(quint64 nodeId) const;
QMap<quint64, QString> getLocalNicknames(const QString& chId) const;
/* ── Узлы ── */
QByteArray loadNodeInfo(quint64 nodeId) const;