mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
webui: unsubscribe chat-lobby
This commit is contained in:
parent
41a8e53abf
commit
1b72d2cec3
@ -53,6 +53,6 @@ should provide forward, backward and follow-list-end
|
||||
|
||||
need 4 master
|
||||
-------------
|
||||
[ ] unsubscribe lobby
|
||||
[X] unsubscribe lobby
|
||||
[X] unread chat message counter in menu
|
||||
[ ] list chat-lobby participants
|
||||
[X] list chat-lobby participants
|
||||
|
@ -176,6 +176,17 @@ function lobby(lobbyid){
|
||||
) {
|
||||
//set participants
|
||||
particips = [
|
||||
m("div.btn", {
|
||||
style: {
|
||||
"text-align":"center"
|
||||
},
|
||||
onclick: function (){
|
||||
rs.request("chat/unsubscribe_lobby",{
|
||||
id:lobdt.id,
|
||||
});
|
||||
m.route("/chat");
|
||||
}
|
||||
},"unsubscribe"),
|
||||
m("h3","participants:"),
|
||||
rs.list(
|
||||
"chat/lobby_participants/" + lobbyid,
|
||||
|
Loading…
Reference in New Issue
Block a user