Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Commit

Permalink
Merge 06db2a2 into 209d26b
Browse files Browse the repository at this point in the history
  • Loading branch information
ralphtheninja committed Oct 8, 2018
2 parents 209d26b + 06db2a2 commit 16082f2
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 10 deletions.
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -799,10 +799,6 @@ Internal `state` property.

An object representing a [`Message`](#class_message) view type.

#### `viewType.isUndefined()`

Message type is `DC_MSG_UNDEFINED`.

#### `viewType.isText()`

Message type is `DC_MSG_TEXT`.
Expand Down
1 change: 0 additions & 1 deletion constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ module.exports = {
DC_MSG_ID_MARKER1: 1,
DC_MSG_IMAGE: 20,
DC_MSG_TEXT: 10,
DC_MSG_UNDEFINED: 0,
DC_MSG_VIDEO: 50,
DC_MSG_VOICE: 41,
DC_NO_EXTRA_IMAP_UPLOAD: 33554432,
Expand Down
2 changes: 1 addition & 1 deletion deltachat-core
4 changes: 0 additions & 4 deletions message.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,6 @@ class MessageViewType {
this.viewType = viewType
}

isUndefined () {
return this.viewType === C.DC_MSG_UNDEFINED
}

isText () {
return this.viewType === C.DC_MSG_TEXT
}
Expand Down

0 comments on commit 16082f2

Please sign in to comment.