mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-11-29 15:26:27 +00:00
Can request message content update
This commit is contained in:
parent
ba2c21bf54
commit
417b8a6600
@ -968,6 +968,8 @@ const ConvChatWindow = {
|
||||
//Add message options
|
||||
if(userIsPoster){
|
||||
|
||||
if (message.file == null)
|
||||
{
|
||||
//Update message content
|
||||
var updateLi = createElem2({
|
||||
type: "li",
|
||||
@ -987,6 +989,7 @@ const ConvChatWindow = {
|
||||
*/
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
@ -27,7 +27,7 @@ ComunicWeb.components.conversations.messageEditor = {
|
||||
|
||||
//Intend to update message content
|
||||
ComunicWeb.components.conversations.interface.UpdateSingleMessage(
|
||||
message.ID,
|
||||
message.id,
|
||||
content,
|
||||
|
||||
function(result){
|
||||
|
Loading…
Reference in New Issue
Block a user