-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Option to have a single incoming user in group chat #596
Comments
Hey @wimbledon - what are you trying to achieve? is this for a right-to-left language? |
This seems like a very rare/specific use case. Not sure I'll add it to the library. However, please provide more info on what you're trying to achieve when you get a chance! 👍 |
Thanks for the reply. It's not for right-to-left language. |
@wimbledon -- Ahh ok. I think this might be possible within the current framework with few modifications. The You can add a second property (something like, Then, when you override of this method: - (void)didPressSendButton:(UIButton *)button
withMessageText:(NSString *)text
senderId:(NSString *)senderId
senderDisplayName:(NSString *)senderDisplayName
date:(NSDate *)date; You'll need to ignore the If I'm understanding everything correctly, this should work and require minimal effort! 👍 Hope that helps! |
Thank you for your help. The thing is, I want to display the sender/designated user on the LEFT as oppose to on the RIGHT. So, I was hoping for a new property on JSQMessagesViewController to allow me to choose this. |
Ahh I see. For now you'll have to override I've opened a feature request issue at #611 for this 👍 (I realize right-to-left language support isn't what you need, but this is all related) |
I would like to have a designated user as the incoming messenger and everybody else including the current sender as the outgoing messenger. Do you think you can make a property in JSQMessagesViewController that expose this option for group chat settings?
David
The text was updated successfully, but these errors were encountered: