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 {
49
49
private int failures = 0 ;
50
50
private boolean registeredOrGotEventsThisRun ;
51
51
52
- public AsyncGetEvents (ZulipActivity humbugActivity ) {
52
+ public AsyncGetEvents (ZulipActivity zulipActivity ) {
53
53
super ();
54
- app = (ZulipApp ) humbugActivity .getApplication ();
55
- activity = humbugActivity ;
54
+ app = (ZulipApp ) zulipActivity .getApplication ();
55
+ activity = zulipActivity ;
56
56
request = new HTTPRequest (app );
57
57
}
58
58
Original file line number Diff line number Diff line change @@ -13,17 +13,17 @@ public class AsyncSend extends ZulipAsyncPushTask {
13
13
/**
14
14
* Initialise an AsyncSend task to send a specific message.
15
15
*
16
- * @param humbugActivity The calling Activity
16
+ * @param zulipActivity The calling Activity
17
17
* @param msg The message to send.
18
18
*/
19
- public AsyncSend (ZulipActivity humbugActivity , Message msg ) {
20
- super ((ZulipApp ) humbugActivity .getApplication ());
19
+ public AsyncSend (ZulipActivity zulipActivity , Message msg ) {
20
+ super ((ZulipApp ) zulipActivity .getApplication ());
21
21
this .setProperty ("type" , msg .getType ().toString ());
22
22
if (msg .getType () == MessageType .STREAM_MESSAGE ) {
23
23
this .setProperty ("to" , msg .getStream ().getName ());
24
24
} else {
25
25
JSONArray arr = new JSONArray ();
26
- for (Person recipient : msg .getPersonalReplyTo ((ZulipApp ) humbugActivity .getApplication ())) {
26
+ for (Person recipient : msg .getPersonalReplyTo ((ZulipApp ) zulipActivity .getApplication ())) {
27
27
arr .put (recipient .getEmail ());
28
28
}
29
29
this .setProperty ("to" , arr .toString ());
You can’t perform that action at this time.
0 commit comments