[messagecore] Unify stripOffPrefix/cleanSubject/etc
Closed, ResolvedPublic

Description

We have several implementations of the Re/Fwd prefix stripping for subjects, in messagecore (StringUtil::stripOffPrefix), messageviewer (NodeHelper::cleanSubject) and messagecomposer (MessageHelper::cleanSubject). Prefix replacement (for replying/forwarding) also exists in messageviewer and messagecomposer, and the settings seem to be also in at least two places.

Unify all this in a single place in messagecore, there does not seem to be a reason for different behavior, also the current one does not seem entirely consistent (regarding considering settings and i18n for example).

vkrause created this task.Sep 5 2015, 4:00 PM
vkrause updated the task description. (Show Details)
vkrause raised the priority of this task from to Needs Triage.
vkrause added a project: KDE PIM.
vkrause moved this task to Backlog on the KDE PIM board.
vkrause added a subscriber: vkrause.
mlaurent moved this task from Backlog to In Progress on the KDE PIM board.Sep 11 2018, 7:00 AM
mlaurent moved this task from In Progress to Applications 18.12 (master) on the KDE PIM board.
mlaurent edited projects, added KDE PIM (Applications 18.12 (master)); removed KDE PIM.
knauss closed this task as Resolved.Sep 1 2019, 3:40 PM
knauss claimed this task.
knauss added a subscriber: knauss.

The task with released with Application 18.12.