mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
52861a6ef5
TSAnimatedAdapter is used when rendering GIFs. TSAnimatedAdapter inherits from JSQMediaItem but does not provide a custom implementation of the hash method. The default implementation of hash in JSQMediaItem results in all messages of a given interaction type (incoming, outgoing) sharing a cached bubble size. For this reason, JSQMediaItem subclasses are required to implement hash (see https://github.com/jessesquires/JSQMessagesViewController/issues/631). This commit fixes issue #1275 by implementing hash in TSAnimatedAdapter the same way TSPhotoAdapter does. |
||
---|---|---|
.. | ||
OWSMessageEditing.h | ||
TSAnimatedAdapter.h | ||
TSAnimatedAdapter.m | ||
TSContentAdapters.h | ||
TSMessageAdapter.h | ||
TSMessageAdapter.m | ||
TSPhotoAdapter.h | ||
TSPhotoAdapter.m | ||
TSVideoAttachmentAdapter.h | ||
TSVideoAttachmentAdapter.m |