mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-19 20:04:24 -04:00
webui: unsubscribe chat-lobby
This commit is contained in:
parent
41a8e53abf
commit
1b72d2cec3
2 changed files with 13 additions and 2 deletions
|
@ -53,6 +53,6 @@ should provide forward, backward and follow-list-end
|
||||||
|
|
||||||
need 4 master
|
need 4 master
|
||||||
-------------
|
-------------
|
||||||
[ ] unsubscribe lobby
|
[X] unsubscribe lobby
|
||||||
[X] unread chat message counter in menu
|
[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
|
//set participants
|
||||||
particips = [
|
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:"),
|
m("h3","participants:"),
|
||||||
rs.list(
|
rs.list(
|
||||||
"chat/lobby_participants/" + lobbyid,
|
"chat/lobby_participants/" + lobbyid,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue