<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.webos-internals.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Stv813</id>
	<title>WebOS Internals - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.webos-internals.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Stv813"/>
	<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/wiki/Special:Contributions/Stv813"/>
	<updated>2026-05-03T14:27:00Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Patch_Messaging_New_Cards_For_Each_Conversation&amp;diff=7808</id>
		<title>Patch Messaging New Cards For Each Conversation</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Patch_Messaging_New_Cards_For_Each_Conversation&amp;diff=7808"/>
		<updated>2009-12-18T20:33:01Z</updated>

		<summary type="html">&lt;p&gt;Stv813: /* Concerns */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{template:patch}}&lt;br /&gt;
Works with: 1.0.4, 1.1&lt;br /&gt;
&lt;br /&gt;
The message app can be a pain when you have multiple conversations going on. You have to swipe back and then pick someone else quite often. It gets annoying. This modification makes it so a new card is created whenever you click into a conversation.&lt;br /&gt;
&lt;br /&gt;
Edit /usr/palm/applications/com.palm.app.messaging/app/controllers/listview-assistant.js&lt;br /&gt;
We are going to replace the launchChatView function with the following...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
launchChatView: function(chatThreadId) {&lt;br /&gt;
	//Need to jump to that stage if it exists&lt;br /&gt;
	var stageController = Mojo.Controller.appController.getStageController(&amp;quot;messaging&amp;quot;+chatThreadId);&lt;br /&gt;
		if (stageController) {&lt;br /&gt;
			stageController.activate();&lt;br /&gt;
			return;&lt;br /&gt;
		}&lt;br /&gt;
&lt;br /&gt;
	var params = {name: 'messaging' + chatThreadId,&lt;br /&gt;
			lightweight: Mojo.Controller.appInfo.lwStages&lt;br /&gt;
	};&lt;br /&gt;
&lt;br /&gt;
	var callback = function(controller) {&lt;br /&gt;
		controller.pushScene('chatview',chatThreadId,{&lt;br /&gt;
					focusWindow: true&lt;br /&gt;
				});		&lt;br /&gt;
	};&lt;br /&gt;
&lt;br /&gt;
	Mojo.Controller.getAppController().createStageWithCallback(params, callback); //doesnt create ifit exists sooo&lt;br /&gt;
  },&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now in /usr/palm/applications/com.palm.app.messaging/app/controllers/chatview-assistant.js&lt;br /&gt;
Comment out lines 246 and 247 (WebOS 1.1: Lines '''289''' &amp;amp; '''290''').&lt;br /&gt;
This will make it so if you back gesture in a chat, then it doesn't bring you back to the conversation list or do anything else.&lt;br /&gt;
&lt;br /&gt;
Either reboot or refresh/kill LunaSysMgr.&lt;br /&gt;
&lt;br /&gt;
== Concerns==&lt;br /&gt;
There's some delay in creating the new cards. I'm not sure why though.&lt;br /&gt;
&lt;br /&gt;
Unread message counter in listview doesn't always update when you view a conversation.&lt;br /&gt;
&lt;br /&gt;
Make sure to comment out the correct lines on the last step (disable back gesture).  In 1.3, they are lines 324 and 325.  The block to look for is:&lt;br /&gt;
&lt;br /&gt;
    } else if(event.type == Mojo.Event.back) {&lt;br /&gt;
        event.stop();&lt;br /&gt;
        this.popAndRevealListView();&lt;br /&gt;
        return;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
which should be changed to:&lt;br /&gt;
&lt;br /&gt;
    } else if(event.type == Mojo.Event.back) {&lt;br /&gt;
        //event.stop();&lt;br /&gt;
        //this.popAndRevealListView();&lt;br /&gt;
        return;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
== Major Bugs==&lt;br /&gt;
None yet&lt;br /&gt;
&lt;br /&gt;
Enjoy!&lt;br /&gt;
-Mike dg&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* verified by tictac (after a few miscues)&lt;/div&gt;</summary>
		<author><name>Stv813</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Patch_Messaging_New_Cards_For_Each_Conversation&amp;diff=7807</id>
		<title>Patch Messaging New Cards For Each Conversation</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Patch_Messaging_New_Cards_For_Each_Conversation&amp;diff=7807"/>
		<updated>2009-12-18T20:32:21Z</updated>

		<summary type="html">&lt;p&gt;Stv813: /* Concerns */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{template:patch}}&lt;br /&gt;
Works with: 1.0.4, 1.1&lt;br /&gt;
&lt;br /&gt;
The message app can be a pain when you have multiple conversations going on. You have to swipe back and then pick someone else quite often. It gets annoying. This modification makes it so a new card is created whenever you click into a conversation.&lt;br /&gt;
&lt;br /&gt;
Edit /usr/palm/applications/com.palm.app.messaging/app/controllers/listview-assistant.js&lt;br /&gt;
We are going to replace the launchChatView function with the following...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
launchChatView: function(chatThreadId) {&lt;br /&gt;
	//Need to jump to that stage if it exists&lt;br /&gt;
	var stageController = Mojo.Controller.appController.getStageController(&amp;quot;messaging&amp;quot;+chatThreadId);&lt;br /&gt;
		if (stageController) {&lt;br /&gt;
			stageController.activate();&lt;br /&gt;
			return;&lt;br /&gt;
		}&lt;br /&gt;
&lt;br /&gt;
	var params = {name: 'messaging' + chatThreadId,&lt;br /&gt;
			lightweight: Mojo.Controller.appInfo.lwStages&lt;br /&gt;
	};&lt;br /&gt;
&lt;br /&gt;
	var callback = function(controller) {&lt;br /&gt;
		controller.pushScene('chatview',chatThreadId,{&lt;br /&gt;
					focusWindow: true&lt;br /&gt;
				});		&lt;br /&gt;
	};&lt;br /&gt;
&lt;br /&gt;
	Mojo.Controller.getAppController().createStageWithCallback(params, callback); //doesnt create ifit exists sooo&lt;br /&gt;
  },&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now in /usr/palm/applications/com.palm.app.messaging/app/controllers/chatview-assistant.js&lt;br /&gt;
Comment out lines 246 and 247 (WebOS 1.1: Lines '''289''' &amp;amp; '''290''').&lt;br /&gt;
This will make it so if you back gesture in a chat, then it doesn't bring you back to the conversation list or do anything else.&lt;br /&gt;
&lt;br /&gt;
Either reboot or refresh/kill LunaSysMgr.&lt;br /&gt;
&lt;br /&gt;
== Concerns==&lt;br /&gt;
There's some delay in creating the new cards. I'm not sure why though.&lt;br /&gt;
&lt;br /&gt;
Unread message counter in listview doesn't always update when you view a conversation.&lt;br /&gt;
&lt;br /&gt;
Make sure to comment out the correct lines on the last step (disable back gesture).  In 1.3, they are lines 324 and 325.  The block to look for is:&lt;br /&gt;
&lt;br /&gt;
} else if(event.type == Mojo.Event.back) {&lt;br /&gt;
    event.stop();&lt;br /&gt;
    this.popAndRevealListView();&lt;br /&gt;
    return;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
which should be changed to:&lt;br /&gt;
&lt;br /&gt;
} else if(event.type == Mojo.Event.back) {&lt;br /&gt;
    //event.stop();&lt;br /&gt;
    //this.popAndRevealListView();&lt;br /&gt;
    return;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
== Major Bugs==&lt;br /&gt;
None yet&lt;br /&gt;
&lt;br /&gt;
Enjoy!&lt;br /&gt;
-Mike dg&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* verified by tictac (after a few miscues)&lt;/div&gt;</summary>
		<author><name>Stv813</name></author>
	</entry>
</feed>