You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The reason will be displayed to describe this comment to others. Learn more.
This won't work in all cases. It will need to be amended.
Basically, the code first requests N messages. Some might be inbound, and some might be outbound. If you only take inbound messages, and then e.g. 3 are outbound in the ones you got, you then only got N - 3 messages. There's no way to filter by inbound or outbound as a request parameter, so a system will have to be developed to re-request messages until enough inbound ones have been received.
The reason will be displayed to describe this comment to others. Learn more.
There is also a case where a text is received with an empty Body, e.g. in the case someone sends a media item. In these cases we could either omit the message completely, or insert a message such as "An image was sent, but we can't display it here (yet)..."
ee4bdfe
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This won't work in all cases. It will need to be amended.
Basically, the code first requests
N
messages. Some might be inbound, and some might be outbound. If you only take inbound messages, and then e.g.3
are outbound in the ones you got, you then only gotN - 3
messages. There's no way to filter by inbound or outbound as a request parameter, so a system will have to be developed to re-request messages until enough inbound ones have been received.ee4bdfe
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is also a case where a text is received with an empty
Body
, e.g. in the case someone sends a media item. In these cases we could either omit the message completely, or insert a message such as "An image was sent, but we can't display it here (yet)..."Speaking of media, #35
ee4bdfe
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Handling this now.