session-ios/Signal/src/Models/TSMessageAdapaters
Adam Stiles 52861a6ef5 Fix incorrect GIF message bubble sizing (#1300)
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.
2016-08-15 09:39:46 -04:00
..
OWSMessageEditing.h Consistent and efficient media Delete/Copy/Save UX 2016-07-18 09:20:48 -07:00
TSAnimatedAdapter.h Consistent and efficient media Delete/Copy/Save UX 2016-07-18 09:20:48 -07:00
TSAnimatedAdapter.m Fix incorrect GIF message bubble sizing (#1300) 2016-08-15 09:39:46 -04:00
TSContentAdapters.h Code Cleanup (#1229) 2016-06-17 15:41:41 -07:00
TSMessageAdapter.h Consistent and efficient media Delete/Copy/Save UX 2016-07-18 09:20:48 -07:00
TSMessageAdapter.m Fixes lingering interactions after removing thread (#1297) 2016-07-31 15:25:07 -07:00
TSPhotoAdapter.h Consistent and efficient media Delete/Copy/Save UX 2016-07-18 09:20:48 -07:00
TSPhotoAdapter.m Prevent crash when copying corrupted image attachment. (#1287) 2016-07-21 15:55:32 -07:00
TSVideoAttachmentAdapter.h Consistent and efficient media Delete/Copy/Save UX 2016-07-18 09:20:48 -07:00
TSVideoAttachmentAdapter.m Improve audio waveform scrolling performance (#1292) 2016-08-02 10:52:20 -06:00