Request capabilities part 2

This commit is contained in:
yflory
2019-07-13 11:47:58 +02:00
parent 2ba6e40161
commit 60bea6b33b
8 changed files with 110 additions and 20 deletions

View File

@@ -589,9 +589,8 @@ MessengerUI, Messages) {
}).hide();
// If we have access to the owner's mailbox, display the button and enable it
// XXX the data sent to outer is false if we want to check if we can contact the owner
// and it is true if we change to contact it (action)
// XXX get pad title here??
// false => check if we can contact the owner
// true ==> send the request
Common.getSframeChannel().query('Q_REQUEST_ACCESS', false, function (err, obj) {
if (obj && obj.state) {
$requestBlock.show().click(function () {