Skip to content

Commit

Permalink
error on open chat: show notification
Browse files Browse the repository at this point in the history
  • Loading branch information
ge0rg committed Jan 30, 2014
1 parent 428ba8e commit eed7d3b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/org/yaxim/androidclient/service/GenericService.java
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ private void addNotificationMGR() {
protected void notifyClient(String fromJid, String fromUserName, String message,
boolean showNotification, boolean silent_notification, boolean is_error) {
if (!showNotification) {
if (is_error)
shortToastNotify(getString(R.string.notification_error) + " " + message);
// only play sound and return
try {
if (!silent_notification)
Expand Down

0 comments on commit eed7d3b

Please sign in to comment.