(Jid newjid, final int status)
| 188 | } |
| 189 | |
| 190 | public Contact clone(Jid newjid, final int status) { |
| 191 | Contact clone = new Contact(); |
| 192 | clone.group = group; |
| 193 | clone.jid = newjid; |
| 194 | clone.nick = nick; |
| 195 | clone.key1 = key1; |
| 196 | clone.subscr = subscr; |
| 197 | clone.offline_type = offline_type; |
| 198 | clone.origin = ORIGIN_CLONE; |
| 199 | clone.status = status; |
| 200 | clone.transport = RosterIcons.getInstance().getTransportIndex(JidUtils.getTransport(newjid)); //<<<< |
| 201 | //#ifdef PEP |
| 202 | clone.pepMood = pepMood; |
| 203 | clone.pepMoodName = pepMoodName; |
| 204 | clone.pepMoodText = pepMoodText; |
| 205 | //#ifdef PEP_TUNE |
| 206 | clone.pepTune = pepTune; |
| 207 | clone.pepTuneText = pepTuneText; |
| 208 | //#endif |
| 209 | //#ifdef PEP_ACTIVITY |
| 210 | clone.activity = activity; |
| 211 | //#endif |
| 212 | //#ifdef PEP_LOCATION |
| 213 | clone.location = location; |
| 214 | //#endif |
| 215 | |
| 216 | //#endif |
| 217 | return clone; |
| 218 | } |
| 219 | |
| 220 | public int getColor() { |
| 221 | //#if USE_ROTATOR |
no test coverage detected