mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 14:16:16 -04:00
Merge pull request #351 from PhenomRetroShare/Add_WebUI_ClearButtonOnBradCast
Add Clear Button on WebUI for BroadCast.
This commit is contained in:
commit
f1d69ada82
2 changed files with 26 additions and 1 deletions
|
@ -888,7 +888,12 @@ void ChatHandler::handleClearLobby(Request &req, Response &resp)
|
|||
{
|
||||
ChatLobbyId id = 0;
|
||||
req.mStream << makeKeyValueReference("id", id);
|
||||
notifyChatCleared(ChatId(id));
|
||||
if (id !=0) {
|
||||
notifyChatCleared(ChatId(id));
|
||||
} else {
|
||||
//Is BroadCast
|
||||
notifyChatCleared(ChatId("B"));
|
||||
}
|
||||
resp.setOk();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue