Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortandunn <tandunn@umich.edu>2020-12-19 01:36:29 +0300
committerRobert Adam <krzmbrzl@gmail.com>2020-12-20 11:14:11 +0300
commitba27c8f8bbed711c1ddca906fc8b206077ef7616 (patch)
treee0cbdc4439627e7b4a25edd72e6f8d083943db97 /src/mumble/Database.h
parent675c04632ce1791e4d205b30003462f92aca5360 (diff)
FEAT(client): Add possibility to set nickname
As requested in #3967 this commit implements the ability to set nicknames for other users when connected to the same server. The change is added to the client database by the user id for persistence. In order to set a nickname, a user can right click on that user and click Set Nickname. This opens a window where the user can enter the new nickname. If the text field is cleared, no nickname is displayed. Implements #3967
Diffstat (limited to 'src/mumble/Database.h')
-rw-r--r--src/mumble/Database.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mumble/Database.h b/src/mumble/Database.h
index e139053a8..4bed1914d 100644
--- a/src/mumble/Database.h
+++ b/src/mumble/Database.h
@@ -51,6 +51,9 @@ public:
float getUserLocalVolume(const QString &hash);
void setUserLocalVolume(const QString &hash, float volume);
+ QString getUserLocalNickname(const QString &hash);
+ void setUserLocalNickname(const QString &hash, const QString &nickname);
+
bool isChannelFiltered(const QByteArray &server_cert_digest, const int channel_id);
void setChannelFiltered(const QByteArray &server_cert_digest, const int channel_id, bool hidden);