Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid message grouping mechanism #31

Open
hagile opened this issue Mar 21, 2015 · 0 comments
Open

Invalid message grouping mechanism #31

hagile opened this issue Mar 21, 2015 · 0 comments

Comments

@hagile
Copy link

hagile commented Mar 21, 2015

First of all thank you for this good component, however it doesn't feet into some of my needs. There's a datasource method, - (NSTimeInterval)intervalForMessagesGrouping to group the messages. I've doubt that its not working upto the mark.

For e.g.

- (NSTimeInterval)intervalForMessagesGrouping {
    return (24*60*60); //24 hours grouping
}

However, this isn't working with my case.

I'm sending a message at 23:58pm (today's date) and another message at 00:05am (tomorrow's date) then it'll not show grouping for the message.

I'm not sure how I can edit this and show messages in a day group.

For e.g.
for each unique dates for messages there'll be a group.

Any one have done this with SOMessaging before?

P.S. I'm using pod version of SOMessaging in my app. I think making changes in some classes will discard my changes in future if its pod will get update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant