You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-10 09:22:25 +03:00
Obey my own code style
This commit is contained in:
@@ -30,7 +30,7 @@ var PRESENCE_CLASS = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
function presence_class_for_member(presence_state, last_active_ago) {
|
function presenceClassForMember(presence_state, last_active_ago) {
|
||||||
// offline is split into two categories depending on whether we have
|
// offline is split into two categories depending on whether we have
|
||||||
// a last_active_ago for them.
|
// a last_active_ago for them.
|
||||||
if (presence_state == 'offline') {
|
if (presence_state == 'offline') {
|
||||||
@@ -96,7 +96,7 @@ module.exports = React.createClass({
|
|||||||
},
|
},
|
||||||
|
|
||||||
render: function() {
|
render: function() {
|
||||||
const presenceClass = presence_class_for_member(
|
const presenceClass = presenceClassForMember(
|
||||||
this.props.presenceState, this.props.presenceLastActiveAgo
|
this.props.presenceState, this.props.presenceLastActiveAgo
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user