mirror of
https://github.com/ushahidi/SMSSync.git
synced 2026-04-25 15:55:57 +03:00
[GH-ISSUE #378] Keywords are ignored when forwarding messages #273
Labels
No labels
Bug report
Code improvement
Concern
Feature request
Feature request
Good first issue to work on
In progress
Needs info
Question
Ready
Translation
User Experience
User Experience
Website
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/SMSSync#273
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @alxndrsn on GitHub (Apr 6, 2016).
Original GitHub issue: https://github.com/ushahidi/SMSSync/issues/378
In
PostMessage.postMessage(Message message, SyncUrl syncUrl), the method appears it should be checking keywords before deciding if a message should be forwarded, but actually it always performs the same action. The code simplifies to:Regardless of the results of
a()andb(), this method will always callpostToWebServicewith the same arguments.If this is deliberate, and the code does not rely on Exceptions being thrown in the
a()andb()code, calls topostMessage(message, syncUrl)could be replaced with direct calls topostToWebService(message, syncUrl).@ghost commented on GitHub (May 17, 2016):
Is there an older version, where the keyword filtering functionality works?
@AlfonsoML commented on GitHub (Mar 3, 2017):
So this is the reason why it doesn't work at all?
I want to setup two endpoints according to a keyword in the message received, and despite setting up the filter for each endpoint the message is POSTed to both URLs