Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updated screenshots, removed debug crap

  • Loading branch information...
commit 6829ce5bbb77ec28aafb38d94da17c0a1dfb1740 1 parent 98acf05
@murgo authored
View
16 Android/IrssiNotifier/src/fi/iki/murgo/irssinotifier/IrcNotificationManager.java
@@ -67,14 +67,6 @@ private void addUnread(IrcMessage msg) {
}
public void handle(Context context, String message) {
- /*
- * removed from the server side for now if (message.startsWith("read"))
- * { NotificationManager notificationManager =
- * (NotificationManager)context
- * .getSystemService(Context.NOTIFICATION_SERVICE);
- * notificationManager.cancelAll(); ircMessages.read(); return; }
- */
-
Preferences prefs = new Preferences(context);
NotificationMode mode = prefs.getNotificationMode();
@@ -208,7 +200,7 @@ private ValueList getValues(IrcMessage msg, NotificationMode mode) {
if (unreadCount <= 1) {
if (msg.isPrivate()) {
- title = "Private message from " + msg.getNick();
+ title = "Query from " + msg.getNick();
text = msg.getMessage();
} else {
title = "Hilight at " + msg.getChannel();
@@ -247,7 +239,7 @@ public int compare(IrcMessage lhs, IrcMessage rhs) {
id = perMessageNotificationId++;
count = 1;
if (msg.isPrivate()) {
- title = "Private message from " + msg.getNick();
+ title = "Query from " + msg.getNick();
text = msg.getMessage();
} else {
title = "Hilight at " + msg.getChannel();
@@ -261,10 +253,10 @@ public int compare(IrcMessage lhs, IrcMessage rhs) {
count = channelUnreadCount;
if (msg.isPrivate()) {
if (channelUnreadCount <= 1) {
- title = "Private message from " + msg.getNick();
+ title = "Query from " + msg.getNick();
text = msg.getMessage();
} else {
- title = "" + channelUnreadCount + " private messages from " + msg.getNick();
+ title = "" + channelUnreadCount + " queries from " + msg.getNick();
text = "Last: " + msg.getMessage();
}
} else {
View
2  Android/IrssiNotifier/src/fi/iki/murgo/irssinotifier/IrssiNotifierActivity.java
@@ -52,7 +52,7 @@ public void onCreate(Bundle savedInstanceState) {
}
MessageToServer.setVersion(versionCode);
- preferences.setVersion(versionCode);
+ Preferences.setVersion(versionCode);
// do initial settings
if (preferences.getAuthToken() == null || preferences.getGcmRegistrationId() == null || preferences.getGcmRegistrationIdVersion() != versionCode) {
View
2  Android/IrssiNotifier/src/fi/iki/murgo/irssinotifier/Server.java
@@ -38,7 +38,7 @@
private Map<ServerTarget, String> serverUrls = new HashMap<ServerTarget, String>();
- private static final String SERVER_BASE_URL = "https://3.irssinotifier.appspot.com/API/";
+ private static final String SERVER_BASE_URL = "https://irssinotifier.appspot.com/API/";
private DefaultHttpClient http_client = new DefaultHttpClient();
View
BIN  Misc/screen-in-app.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  Misc/screen-jb-notification.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  Misc/screen-notification.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  Misc/screen-settings.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Please sign in to comment.
Something went wrong with that request. Please try again.