This repository was archived by the owner on Jul 25, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
app/src/main/java/com/zulip/android/networking Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -49,10 +49,10 @@ public class AsyncGetEvents extends Thread {
4949 private int failures = 0 ;
5050 private boolean registeredOrGotEventsThisRun ;
5151
52- public AsyncGetEvents (ZulipActivity humbugActivity ) {
52+ public AsyncGetEvents (ZulipActivity zulipActivity ) {
5353 super ();
54- app = (ZulipApp ) humbugActivity .getApplication ();
55- activity = humbugActivity ;
54+ app = (ZulipApp ) zulipActivity .getApplication ();
55+ activity = zulipActivity ;
5656 request = new HTTPRequest (app );
5757 }
5858
Original file line number Diff line number Diff line change @@ -13,17 +13,17 @@ public class AsyncSend extends ZulipAsyncPushTask {
1313 /**
1414 * Initialise an AsyncSend task to send a specific message.
1515 *
16- * @param humbugActivity The calling Activity
16+ * @param zulipActivity The calling Activity
1717 * @param msg The message to send.
1818 */
19- public AsyncSend (ZulipActivity humbugActivity , Message msg ) {
20- super ((ZulipApp ) humbugActivity .getApplication ());
19+ public AsyncSend (ZulipActivity zulipActivity , Message msg ) {
20+ super ((ZulipApp ) zulipActivity .getApplication ());
2121 this .setProperty ("type" , msg .getType ().toString ());
2222 if (msg .getType () == MessageType .STREAM_MESSAGE ) {
2323 this .setProperty ("to" , msg .getStream ().getName ());
2424 } else {
2525 JSONArray arr = new JSONArray ();
26- for (Person recipient : msg .getPersonalReplyTo ((ZulipApp ) humbugActivity .getApplication ())) {
26+ for (Person recipient : msg .getPersonalReplyTo ((ZulipApp ) zulipActivity .getApplication ())) {
2727 arr .put (recipient .getEmail ());
2828 }
2929 this .setProperty ("to" , arr .toString ());
You can’t perform that action at this time.
0 commit comments