Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Matthew/room avatar event #988

Merged
merged 4 commits into from
Jun 1, 2017
Merged

Matthew/room avatar event #988

merged 4 commits into from
Jun 1, 2017

Conversation

ara4n
Copy link
Member

@ara4n ara4n commented Jun 1, 2017

No description provided.

limitations under the License.
*/

'use strict';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These can go away now, they are implicit.


'use strict';

var React = require('react');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we stick to import in new code?

);
}

var url = ContentRepo.getHttpUriForMxc(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't really tell in what situations one is supposed to use client.mxcUrlToHttp vs. ContentRepo.getHttpUriForMxc but we're using them both interchangeably here which seems wrong.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

one's the raw download content, the other's a thumbnail. i think it's just how the API is.

@@ -17,6 +17,7 @@ limitations under the License.
var MatrixClientPeg = require("./MatrixClientPeg");
var CallHandler = require("./CallHandler");
import { _t } from './languageHandler';
import sdk from './index';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unintentional?

@dbkr dbkr assigned ara4n and unassigned dbkr Jun 1, 2017
@ara4n
Copy link
Member Author

ara4n commented Jun 1, 2017

applied changes; going to assume there was an implicit lgtm O:-)

@ara4n ara4n merged commit ecbc724 into develop Jun 1, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants