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
path: root/src
diff options
context:
space:
mode:
authorKetchupBomb <king.me.brad@gmail.com>2021-02-26 01:06:55 +0300
committerKetchupBomb <king.me.brad@gmail.com>2021-02-26 01:16:26 +0300
commitda26386827a5802cfc82ce45cb8b30469e83d73f (patch)
treee07b3f29d76d39093e32f04e3bbde1a615f00d2b /src
parent384196a99f3446cff9984c873882a3eb37af0013 (diff)
FEAT(server): Remove broadcast of new welcometext when changing via Ice.
When changing the welcome text via Ice, Murmur would broadcast the new text to all connected clients. It is a matter of opinion if this is proper behavior or not, but it seems too proactive of an action. Let the clients see the new welcometext when they next connect, or let the Murmur administrator explicitly perfor a sendMessage() to all connected clients after changing the welcometext. Closes: #4788 Co-Authored-By: Robert Adam <dev@robert-adam.de> <krzmbrzl@gmail.com> Co-Authored-By: Robert Adam <dev@robert-adam.de> <krzmbrzl@users.noreply.github.com>
Diffstat (limited to 'src')
-rw-r--r--src/murmur/Server.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/murmur/Server.cpp b/src/murmur/Server.cpp
index 09c9eb3bb..4122e975b 100644
--- a/src/murmur/Server.cpp
+++ b/src/murmur/Server.cpp
@@ -596,9 +596,6 @@ void Server::setLiveConf(const QString &key, const QString &value) {
QString text = !v.isNull() ? v : Meta::mp.qsWelcomeText;
if (text != qsWelcomeText) {
qsWelcomeText = text;
- MumbleProto::ServerConfig mpsc;
- mpsc.set_welcome_text(u8(qsWelcomeText));
- sendAll(mpsc);
}
} else if (key == "registername") {
QString text = !v.isNull() ? v : Meta::mp.qsRegName;