rrbrambley / MessageBeast-ObjC

A library for building Message-based apps on App.net
MIT License
6 stars 0 forks source link

AATTOrderedMessageBatch messages dictionary does not support two messages with same date #30

Closed rrbrambley closed 10 years ago

rrbrambley commented 10 years ago

The AATTOrderedMessageBatch contains a property of type NSOrderedDictionary, whose keys are message display dates. So, technically, if two messages are created at the same millisecond, then one of them will not be seen. Is this a problem? I don't think so. Just never create two messages with the same date. Multiple apps could post messages simultaneously though. Will they have the same exact date? Probably not. sigh

rrbrambley commented 10 years ago

This is no longer an issue. We are using Message IDs as keys now. The date thing never worked. See https://github.com/rrbrambley/MessageBeast-ObjC/issues/38