ObjMatrix  Diff

Differences From Artifact [4142bbed4c]:

To Artifact [bb6163e59a]:


33
34
35
36
37
38
39

40

41
42
43
44
45
46
47
33
34
35
36
37
38
39
40

41
42
43
44
45
46
47
48







+
-
+







{
	MTXClient *_client;
	OFString *_roomID;
}

- (void)applicationDidFinishLaunching: (OFNotification *)notification
{
	OFDictionary<OFString *, OFString *> *environment =
	__auto_type environment = OFApplication.environment;
	    OFApplication.environment;
	if (environment[@"OBJMATRIX_USER"] == nil ||
	    environment[@"OBJMATRIX_PASS"] == nil ||
	    environment[@"OBJMATRIX_HS"] == nil) {
		[OFStdErr writeString: @"Please set OBJMATRIX_USER, "
				       @"OBJMATRIX_PASS and OBJMATRIX_HS in "
				       @"the environment!\n"];
		[OFApplication terminateWithStatus: 1];