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

Fix showing a first timestamp at the start of a convo #5881

Merged
merged 1 commit into from Feb 16, 2017

Conversation

cjb
Copy link
Contributor

@cjb cjb commented Feb 15, 2017

We had this working before -- there's a "tlfName" type message at the start of every conversation, and we were using the fact that this is an Unhandled message to trigger showing a leading timestamp before the first message, even though a timestamp is normally between two messages.

But then we added a filter for the type of messages we want to be told about inside a conversation, and we removed "tlfName" from the list, so we didn't get that leading Unhandled message anymore, and the first timestamp went away.

This PR just adds tlfName messages back in. I verified that this gives us a leading timestamp again and doesn't appear to have any negative effects (e.g. I don't see any new error messages in chats).

We had this working before -- there's a "tlfName" type message at the
start of every conversation, and we were using the fact that this is
an Unhandled message to trigger showing a leading timestamp before
the first message, even though a timestamp is normally between two
messages.

But then we added a filter for the type of messages we want to be
told about inside a conversation, and we removed "tlfName" from
the list, so we didn't get that leading Unhandled message anymore,
and the first timestamp went away.

This PR just adds tlfName messages back in.  I verified that this
gives us a leading timestamp again and doesn't appear to have any
negative effects (e.g. I don't see any new error messages in chats).
@cjb
Copy link
Contributor Author

cjb commented Feb 15, 2017

@keybase/react-hackers ^

@cjb cjb merged commit 49c68d7 into master Feb 16, 2017
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

Successfully merging this pull request may close these issues.

None yet

2 participants