Notifications
Clear all

Deleting messages

2 Posts
2 Users
0 Reactions
621 Views
(@tommih)
Posts: 44
Trusted Member
Topic starter
 

Hello.

I've almost got the messaging system to work but when I try to delete a message using this code:

        Mail.Delete(selectedMessage.id, (successerror) => {
            if (success){
            } else {
                Debug.LogError("Delete message error: " + error);
            }
        });

... I just get a non-success result with an empty error message. Any hint on what might be going wrong here?

 
Posted : 23/09/2015 12:19 am
(@skaredcreations)
Posts: 805
Prominent Member Admin
 

You are trying to delete a message that doesn't belong to you (for example a message sent by localUser). I'm adding more informations in the errors returned by webservices in the next update.

FRANCESCO CROCETTI @ SKARED CREATIONS

 
Posted : 23/09/2015 6:29 pm
Share: