added message age to message handling and changed invite rejection

This commit is contained in:
rexy712
2019-03-30 04:25:40 -07:00
parent ed2af27652
commit 58c01bb182
4 changed files with 39 additions and 17 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ int main(){
auto sync_reply = matbot.sync(0); //initial sync
matbot.set_invite_callback([&](const matrix::bot& bot, const matrix::invite_info& invite)->void{
bot.join_room(invite.roomid);
bot.accept_invite(invite);
});
while(1){