diff --git a/src/pages/stream/stream.ts b/src/pages/stream/stream.ts index 03e501f..5ecec86 100644 --- a/src/pages/stream/stream.ts +++ b/src/pages/stream/stream.ts @@ -326,7 +326,11 @@ export class NewPostModal { if (navParams.data.type === 'reply') { this.replyid = navParams.data.post.id; this.options = {replyTo: this.replyid}; - this.ptext = "@" + navParams.data.post.user.username + " "; + if (navParams.data.post.user.username !== this.myUsername) { + this.ptext = "@" + navParams.data.post.user.username + " "; + } else { + this.ptext = "" + } if (navParams.data.post.content.entities) { if (navParams.data.post.content.entities.mentions) { this.ptext = this.ptext + this.parseMentions(navParams.data.post.content.entities.mentions);