Hi, right now a client when querying the MAM archive has to relay upon the fact that server time and client time are the same (which they never are) or that all received messages have a proper message id (which they never do). If both these mechanism fail the client has no chance of avoiding duplicate messages.
One possible solution would be for MAM to tag live incoming messages with the ID that identifies that message in the archive (The id that is used in the result tag) That way a client can, when querying the archive later, filter out messages that have been received before. I somehow got under the impression that earlier versions of the MAM XEP already did that but failed to find anything in the XEP archive about that. If that has been the case is there a reason that feature has been removed? cheers Daniel
