Step 2: Creating page Messages: userlist last messages + a page for all the messages received and sent.
This commit is contained in:
@@ -60,7 +60,7 @@ module.exports = {
|
||||
},
|
||||
|
||||
allfieldSendMsg: function () {
|
||||
return ['userId', 'dest', 'message', 'datemsg', 'read', 'deleted', 'origin', 'idapp']
|
||||
return ['userId', 'source', 'dest', 'message', 'datemsg', 'read', 'deleted', 'origin', 'idapp', 'status', 'options']
|
||||
},
|
||||
|
||||
allfieldTodo: function () {
|
||||
@@ -417,5 +417,15 @@ module.exports = {
|
||||
}
|
||||
});
|
||||
|
||||
},
|
||||
|
||||
isBitActive(bit, whattofind) {
|
||||
return ((bit & whattofind) === whattofind)
|
||||
},
|
||||
|
||||
SetBit(myval, bit) {
|
||||
myval = myval & bit;
|
||||
return myval
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user