History is missing if one is joined a groupchat with 2 accounts
When someone is joined with two accounts the same groupchat in Gajim, history is not downloaded for both accounts.
The problem seems to be that the database table who stores the last mam-id is not account specific.